ZoomLevel

class ZoomLevel

A zoom level of a web page.

The class provides a set of predefined constants. Each constant name consists of the "P_" prefix followed by a number, representing the zoom level as a percentage. For example, P_25 corresponds to a 25% zoom level, and P_110 corresponds to a 110% zoom level.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun of(value: Double): ZoomLevel
Returns a ZoomLevel instance for the given double value.
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun value(): Double
Returns double representation of the current zoom level.
Link copied to clipboard
open fun values(): List<ZoomLevel>
Returns an immutable list of the pre-defined zoom levels.